package com.taotao.sso.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.taotao.common.pojo.TaotaoResult;

public interface LoginService {
	TaotaoResult login(String username, String password,
			HttpServletRequest request, HttpServletResponse response);

	TaotaoResult getUserByToken(String token);

	TaotaoResult logout(String token, HttpServletRequest request,
			HttpServletResponse response);
}
